A test script to accept an event from an application